package com.workcell.workdata.xthings.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "CodeChainnumUpdateAliasVo", description = "修改设备别名VO类")
public class CodeChainnumUpdateAliasVo {
    @NotNull(message = "设备编号不能为空")
    @ApiModelProperty(value = "设备编号")
    private String deviceNo;

    @NotEmpty(message = "备注名称不能为空")
    @ApiModelProperty(value = "备注名称")
    private String alias;
}
